// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_pr.p_activity;

import android.widget.*;
import com.nnee.p_pr.p_activity.p_a.cls_ad;
import com.nnee.p_pr.p_activity.p_view.cls_c;
import com.nnee.p_pr.p_atom.*;
import com.nnee.p_pr.cls_b;
import com.nnee.p_pr.p_prot.cls_d;
import java.util.HashMap;
import java.util.LinkedList;

// Referenced classes of package com.nnee.p_pr.p_activity:
//            MallListActivity, dc

class cls_ce extends cls_b
{

	cls_ce(cls_MallListActivity malllistactivity)
    {super();
        a = malllistactivity;
        
    }

    public void a()
    {
        a.e();
    }

    public void b(int i, int k, String s, boolean flag)
    {
        if(cls_MallListActivity.f(a).containsKey(new Integer(i)))
        {
        	cls_MallListActivity.f(a).remove(new Integer(i));
        	cls_MallListActivity.a(a, false);
            a.e();
            cls_dc.a(a.d, k);
        }

        return;

    }

    public void b(int i, cls_d d1)
    {
        if(d1 != null) {
        	if(d1.j.size() > 0)
            {
                if(cls_MallListActivity.f(a).containsKey(new Integer(i)))
                {
                    cls_MallListActivity.f(a).remove(new Integer(i));
                    Toast.makeText(a.d, 0x7f0a0077, 0).show();
                }
                cls_c c1 = new cls_c();
                c1.a = ((com.nnee.p_pr.p_atom.cls_o)d1.j.getFirst()).a();
                Button button = (Button)cls_MallListActivity.l(a).findViewWithTag(c1);
                if(button != null)
                {
                    button.setText(0x7f0a0075);
                    button.setCompoundDrawablesWithIntrinsicBounds(0x7f02002b, 0, 0, 0);
                    c1.b = ((cls_c)button.getTag()).b;
                }
                cls_c c2 = new cls_c();
                c2.a = (new StringBuilder()).append(c1.a).append("mark").toString();
                ImageView imageview = (ImageView)cls_MallListActivity.l(a).findViewWithTag(c2);
                if(imageview != null)
                    imageview.setVisibility(8);
                if((button != null || imageview != null) && cls_MallListActivity.e(a) != null)
                {
                    cls_MallListActivity.n(a).a(com.nnee.p_pr.p_atom.cls_aa.bEUnSubscired, c1.a);
//                    if(cls_MallListActivity.n(a).f(c1.b) != null)
//                        cls_MallListActivity.n(a).f(c1.b).a(com.nnee.p_pr.p_atom.cls_aa.bEUnSubscired);
                }
            } else
            if(d1.i.size() > 0 && cls_MallListActivity.f(a).containsKey(new Integer(i)))
            {
                cls_MallListActivity.f(a).remove(new Integer(i));
                Toast.makeText(a.d, ((com.nnee.p_pr.p_atom.cls_r)d1.i.getFirst()).e(), 0).show();
            }
        } else {
        	if(cls_MallListActivity.f(a).containsKey(new Integer(i)))
                cls_MallListActivity.f(a).remove(new Integer(i));
        }
 
    }

    public void b(int i, cls_d d1, boolean flag)
    {
        if(cls_MallListActivity.l(a) != null)
        {
            cls_MallListActivity.l(a).removeFooterView(cls_MallListActivity.m(a));
            cls_MallListActivity.a(a, i, d1);
        }
//        break MISSING_BLOCK_LABEL_58;
//        NullPointerException nullpointerexception;
//        nullpointerexception;
//        nullpointerexception.printStackTrace();
//        break MISSING_BLOCK_LABEL_58;
//        Exception exception;
//        exception;
//        throw exception;
    }

    public void d(int i, int k, String s)
    {
        if(cls_MallListActivity.f(a).containsKey(new Integer(i)))
        {
            cls_MallListActivity.f(a).remove(new Integer(i));
            cls_dc.a(a.d, k);
        }
    }

    public void e(int i, int k, String s)
    {
        if(cls_MallListActivity.f(a).containsKey(new Integer(i)))
        {
            cls_MallListActivity.f(a).remove(new Integer(i));
            cls_dc.a(a.d, k);
        }
    }

    public void f(int i, cls_d d1)
    {
        if(d1 != null) {
        	if(d1.h.size() > 0)
            {
                if(cls_MallListActivity.f(a).containsKey(new Integer(i)))
                {
                    cls_MallListActivity.f(a).remove(new Integer(i));
                    Toast.makeText(a.d, 0x7f0a0076, 0).show();
                }
                cls_c c1 = new cls_c();
                c1.a = ((com.nnee.p_pr.p_atom.cls_u)d1.h.getFirst()).V();
                Button button = (Button)cls_MallListActivity.l(a).findViewWithTag(c1);
                if(button != null)
                {
                    button.setText(0x7f0a0057);
                    button.setCompoundDrawablesWithIntrinsicBounds(0x7f02002c, 0, 0, 0);
                    c1.b = ((cls_c)button.getTag()).b;
                }
                cls_c c2 = new cls_c();
                c2.a = (new StringBuilder()).append(c1.a).append("mark").toString();
                ImageView imageview = (ImageView)cls_MallListActivity.l(a).findViewWithTag(c2);
                if(imageview != null)
                    imageview.setVisibility(0);
                if((button != null || imageview != null) && cls_MallListActivity.e(a) != null)
                {
                    cls_MallListActivity.n(a).a(com.nnee.p_pr.p_atom.cls_aa.aESubscribed, c1.a);
//                    if(cls_MallListActivity.n(a).f(c1.b) != null)
//                        cls_MallListActivity.n(a).f(c1.b).a(com.nnee.p_pr.p_atom.cls_aa.aESubscribed);
                }
            } else
            if(d1.i.size() > 0 && cls_MallListActivity.f(a).containsKey(new Integer(i)))
            {
                cls_MallListActivity.f(a).remove(new Integer(i));
                Toast.makeText(a.d, ((com.nnee.p_pr.p_atom.cls_r)d1.i.getFirst()).e(), 0).show();
            }
        } else {
        	 if(cls_MallListActivity.f(a).containsKey(new Integer(i)))
                 cls_MallListActivity.f(a).remove(new Integer(i));
        }
 
    }

    public void g(int i, int k, String s)
    {
        if(cls_MallListActivity.f(a).containsKey(new Integer(i)))
        {
            cls_MallListActivity.f(a).remove(new Integer(i));
            a.e();
            cls_dc.a(a.d, k);
        }

        return;
//        NullPointerException nullpointerexception;
//        nullpointerexception;
//        nullpointerexception.printStackTrace();
//          goto _L1
//        Exception exception;
//        exception;
//        throw exception;
    }

    public void j(int i, cls_d d1)
    {
        if(cls_MallListActivity.f(a).containsKey(new Integer(i)))
        {
            cls_MallListActivity.f(a).remove(new Integer(i));
            a.e();
            if(d1 != null && d1.h != null)
                cls_MallListActivity.a(a, d1);
        }
//        break MISSING_BLOCK_LABEL_85;
//        NullPointerException nullpointerexception;
//        nullpointerexception;
//        nullpointerexception.printStackTrace();
//        break MISSING_BLOCK_LABEL_85;
//        Exception exception;
//        exception;
//        throw exception;
    }

    final cls_MallListActivity a;
}
